<div th:fragment="jingfeipici_edit">
<div id="jingfeipiciModal" style="" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-keyboard="false">
    <div class="modal-dialog modal-md" style="width:1000px;" id="modal-dialog">
        <div class="modal-content" >
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel"></h4>
            </div>
            <div class="modal-body"  id="myModalBody">

                <form class="form-horizontal m" id="form-jingfeipicidetail-edit" th:object="${jingfeiPiciDetail}">
                    <div class="form-group">
                        <label class="col-sm-3 control-label is-required">拨款批次</label>
                        <div class="col-sm-8">
                            <input class="form-control" type="text" v-model="jingfeipici.picimingcheng" placeholder="请输入批次名称">
                        </div>
                    </div>
                    <div v-if="deptid==0" class="form-group">
                        <label class="col-sm-3 control-label is-required">计发年月</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="kaishinian" class="form-control" id="kaishinian" placeholder="yyyy" onclick="WdatePicker({dateFmt:'yyyy'})" @blur="getJifanianyue">
                                <span class="input-group-addon">年</span>
                                <select name="kaishiyue" class="form-control" id="kaishiyue" placeholder="MM" v-model="kaishiyue">
                                    <option value="01">01</option>
                                    <option value="02">02</option>
                                    <option value="03">03</option>
                                    <option value="04">04</option>
                                    <option value="05">05</option>
                                    <option value="06">06</option>
                                    <option value="07">07</option>
                                    <option value="08">08</option>
                                    <option value="09">09</option>
                                    <option value="10">10</option>
                                    <option value="11">11</option>
                                    <option value="12">12</option>
                                </select>
                                <span class="input-group-addon">月至</span>
                                <input name="jieshunian" class="form-control" id="jieshunian" placeholder="yyyy" onclick="WdatePicker({dateFmt:'yyyy'})" @blur="getJifanianyue">
                                <span class="input-group-addon">年</span>
                                <select name="jieshuyue" class="form-control" id="jieshuyue" placeholder="MM" v-model="jieshuyue">
                                    <option value="01">01</option>
                                    <option value="02">02</option>
                                    <option value="03">03</option>
                                    <option value="04">04</option>
                                    <option value="05">05</option>
                                    <option value="06">06</option>
                                    <option value="07">07</option>
                                    <option value="08">08</option>
                                    <option value="09">09</option>
                                    <option value="10">10</option>
                                    <option value="11">11</option>
                                    <option value="12">12</option>
                                </select>
                                <span class="input-group-addon">月</span>
                            </div>
                        </div>
                    </div>
                    <div v-if="deptid!=0" class="form-group">
                            <label class="col-sm-3 control-label is-required">计发年月</label>
                        <div class="col-sm-8">
                            <select id="monthselect" class="form-control noselect2 selectpicker" data-none-selected-text multiple>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label is-required">本批次拨款截止时间</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="jiezhishijian" class="form-control" placeholder="yyyy-MM-dd" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" v-model="jingfeipici.jiezhishijian" id="jiezhishijian" @blur="getJiezhishijian">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>
                    </div>
                </form>

            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" @click="add" v-if="editflag==1">保存</button>
                <button type="button" class="btn btn-primary" @click="modify" v-if="editflag==2">保存</button>
            </div>
        </div>
    </div>
</div>
</div>